@page "{id:int?}"

<form method="POST" asp-page="" asp-route-id="10">
<input type="submit" value="Submit" />
</form>